Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Points

QuickDraw 3D defines two- and three-dimensional points in the usual way, as pairs and triples of floating-point numbers. You'll use the TQ3Point3D data type throughout the QuickDraw 3D application programming interfaces. You'll use the TQ3Point2D data type for defining two-dimensional points.

typedef struct TQ3Point2D {
    float           x;
    float           y;
} TQ3Point2D;
typedef struct TQ3Point3D {
    float           x;
    float           y;
    float           z;
} TQ3Point3D;
x
The x coordinate (abscissa) of a point.
y
The y coordinate (ordinate) of a point.
z
The z coordinate of a point.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |